package com.itheima.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Controller
public class HelloController {
    @RequestMapping(path = "/hello")
    public String sayHello(@RequestParam("username") String name){
        System.out.println(name);
        return "poto.jsp";
    }
}
